package com.ruoyi.http.controller;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.data.DataUtils;
import com.ruoyi.http.domain.Http;
import com.ruoyi.http.domain.WeChat01400T;
import com.ruoyi.http.domain.WeChat01700T;
import com.ruoyi.http.service.IWeChatTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/http/weChat01700")
public class WeChat01700 extends BaseController {

    @Autowired
    private IWeChatTService weChatTService;

    @GetMapping("/weChat")
    public AjaxResult http(WeChat01700T gaoDeMap) {
        List<WeChat01700T> weChat = new ArrayList<WeChat01700T>();
        weChat = weChatTService.getHouseIdByOpenId(gaoDeMap);
        return AjaxResult.success(weChat);
    }
}